package cn.anjubao.cp.api.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CountFeeReqForm {
    @NotBlank(message = "车位编号不能为空")
    private String slotNum;
    @NotNull(message = "停车时间不能为空")
    @Min(value = 1,message = "停车时长不能为0")
    private Integer parkTime;
    @NotNull(message = "是否开启哨兵不能未空")
    private Boolean enableMonitor;
}
